@layout("/common/_container.html"){
<div class="ibox float-e-margins">
	<div class="ibox-content">
		<div class="form-horizontal" id="exportForm" style="height: 418px;">
            <div class="row " style="margin-bottom:20px;border-bottom:4px solid #f3f3f3">
                <div class="col-sm-6 tl">
                    <#button btnCss="success" name="全选" id="ensure" icon="" clickFun="Export.allCheck();"/>
                    <#button btnCss="success" name="全不选" id="ensure" icon="" clickFun="Export.allNotCheck();"/>
                    <#button btnCss="danger" name="反选" id="cancel" icon="" clickFun="Export.reverseCheck();"/>
                </div>
                <div class="col-sm-6 tr">
                    <#button btnCss="success" name="提交" id="ensure" icon="fa-check" clickFun="Export.submit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="parent.layer.close(window.parent.VE.layerIndex);"/>
                </div>
            </div>
			<div class="row" id="fieldDiv">
                @var total =fieldList.~size!0;
                @var size = 10;
                @var col = tool.getTotalPage(total,size);
                @var width = 100/col;

                @for(item in fieldList){

                    @if(itemLP.index==1){
                        <ul style="float:left;width:${width}%;list-style: none;">
                    @}
                    @if(itemLP.index>1&& (itemLP.index)%size==1){
                            </ul>
                            <ul style="float:left;width:${width}%;list-style: none;">
                      @}
                         <li><input type="checkbox" value="${item.value}" name="field" >${item.key}</li>
                      @if(itemLP.index==total){
                            </ul>
                    @}
                @}

			</div>


			<div class="row btn-group-m-t">

			</div>
		</div>

	</div>
</div>

<script src="${ctxPath}/static/modular/system/export/field.js"></script>
@}
